package com.hy.mapper;

import com.hy.entitys.StoryEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhanghongyang
 * @since 2019-06-16
 */
@Mapper
public interface StoryMapper extends BaseMapper<StoryEntity> {

   int saveStory(StoryEntity storyEntitys);

   int upDataStoryStatus(StoryEntity storyEntitys);

   Integer selectByName(String name);

    List<StoryEntity> selectByNameE(String name);
}
